<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
{#    <link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}" rel="external nofollow"  rel="external nofollow" >#}
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet"  type="text/css" href="/static/style.css" rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >
      <title>home</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/css/layui.css" tppabs="http://layui/dist/css/layui.css"  media="all">
    <link href="../static/layui/css/layui.css" rel="stylesheet">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
          integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
      <style>
        body{padding: 6px 16px;}
        .demo-carousel{height: 200px; line-height: 200px; text-align: center;}
      </style>
</head>
<body>
{#<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">#}
{#  <legend>水平导航菜单</legend>#}
{#</fieldset>#}

<ul class="layui-nav">
  <li class="layui-nav-item layui-this"><a href="{{ url_for('index') }}">Home</a></li>
  <li class="layui-nav-item">
    <a href="{{ url_for('hard') }}">服务器信息</a>
  </li>
  <li class="layui-nav-item"><a href="">k8s集群管理</a>
      <dl class="layui-nav-child">
      <dd><a href="{{ url_for('k8s') }}">k8s集群信息</a></dd>
      <dd><a href="{{ url_for('new_deploy') }}">创建Yaml</a></dd>
      <dd><a href="{{ url_for('deploy') }}">预览编辑Yaml</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item">
    <a href="javascript:;">数据中间件</a>
    <dl class="layui-nav-child">
      <dd><a href="{{ url_for('find') }}">Redis</a></dd>
      <dd><a href="{{ url_for('kafkaui') }}">kafka_ui</a></dd>
      <dd><a href="">MongoDB</a></dd>
      <dd><a href="">MySQL</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item">
    <a href="javascript:;">运维自动化</a>
    <dl class="layui-nav-child">
      <dd><a href="{{ url_for('webssh') }}">web_ssh</a></dd>
      <dd class="layui-this"><a href="{{ url_for('crontab') }}">定时任务</a></dd>
      <dd><a href="{{ url_for('mssh') }}">自动化执行</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item"><a href="{{ url_for('monitor') }}">监控平台</a></li>
  <li  class="layui-nav-item" style="float: right" ><a href="">{{ username }}</a>
      <dl class="layui-nav-child">
      <dd><a href="{{ url_for('logout') }}">注销</a></dd>
    </dl>
  </li>
</ul>
<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
  <ul class="layui-tab-title">
    <li class="layui-this">服务器资产信息</li>
    <li>数据库中间件</li>
    <li>IT台账信息</li>
  </ul>
  <div class="layui-tab-content" style="height: 100px;">
    <div class="layui-tab-item layui-show">
<div class="row">
    <div class="col-md-6 col-sm-4 col-xs-4">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h5>服务器信息</h5>
            </div>
            <div class="panel-body">
                <div class="table-responsive">
                    <table class="layui-table table table-striped table-bordered table-hover" lay-size="sm">
                        <thead>
                        <tr>
                            {% for i in labels %}
                                <td>{{ i }}</td>
                            {% endfor %}
                        </tr>
                        </thead>
                        <tbody>
                        {% for i in content %}
                            <tr>
                                {% for j in i %}
                                    <td>{{ j }}</td>
                                {% endfor %}
                            </tr>
                        {% endfor %}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>

    </div>

</div>
    </div>
    <div class="layui-tab-item">
<div class="row">
    <div class="col-md-6 col-sm-4 col-xs-4">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h5>组件服务信息</h5>
            </div>
            <div class="panel-body">
                <div class="table-responsive">
                    <table class="layui-table table table-striped table-bordered table-hover" lay-size="sm">
                        <thead>
                        <tr>
                            {% for i2 in labels2 %}
                                <td>{{ i2 }}</td>
                            {% endfor %}
                        </tr>
                        </thead>
                        <tbody>
                        {% for i2 in content2 %}
                            <tr>
                                {% for j2 in i2 %}
                                    <td>{{ j2 }}</td>
                                {% endfor %}
                            </tr>
                        {% endfor %}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>

    </div>

</div>
    </div>
    <div class="layui-tab-item">
<div class="row">
    <div class="col-md-6 col-sm-4 col-xs-4">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h5>台账信息</h5>
            </div>
            <div class="panel-body">
                <div class="table-responsive">
                    <table class="layui-table table table-striped table-bordered table-hover" lay-size="sm">
                        <thead>
                        <tr>
                            {% for i3 in labels3 %}
                                <td>{{ i3 }}</td>
                            {% endfor %}
                        </tr>
                        </thead>
                        <tbody>
                        {% for i3 in content3 %}
                            <tr>
                                {% for j3 in i3 %}
                                    <td>{{ j3 }}</td>
                                {% endfor %}
                            </tr>
                        {% endfor %}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

    </div>

</div>
    </div>
  </div>

<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
        integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
        crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
        integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
        crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
        integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
        crossorigin="anonymous"></script>
<script src="../static/layui/layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述 JS 路径需要改成你本地的 -->
<script>
layui.use('element', function(){
  var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块

  //监听导航点击
  element.on('nav(demo)', function(elem){
    //console.log(elem)
    layer.msg(elem.text());
  });
});
</script>
</body>
</html>
